package com.google.jacli.samples.opt;

import java.io.File;
import java.util.Map;
import com.google.jacli.Argument;
import com.google.jacli.CommonBean;

public class SampleBean extends CommonBean {
    @Argument(shortName = "d", option = "output", documentation = "OUTPUT_DIR")
    private File outputDir;
    
    @Argument(option = "p", documentation = "PACKAGE_MAP")
    private Map<String, String> packageMap;

    @Argument(shortName = "c", option = "compile")
    private boolean compile;

    public boolean getCompile() {
        return this.compile;
    }

    public void setCompile(boolean c) {
        this.compile = c;
    }
    
    public final File getOutputDir() {
        return outputDir;
    }

    public final void setOutputDir(final File newOutputDir) {
        this.outputDir = newOutputDir;
    }
    
    public void setPackageMap(Map<String, String> m) {
        this.packageMap = m;
    }

    public Map<String, String> getPackageMap() {
        return this.packageMap;
    }
}